
package com.wzh.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.persistence.Entity;

/**
 * <p>
 *
 * </p>
 *
 * @author wzh
 * @since 2020-05-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("spectrum")
public class Spectrum implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "spectrumId", type = IdType.AUTO)
    private Integer spectrumId;

    @TableField("spectrumName")
    private String spectrumName;

    @TableField("author")
    private String author;

    @TableField("category")
    private Integer category;

    @TableField("subcategory")
    private Integer subcategory;

    @TableField("createTime")
    private LocalDateTime createTime;


}
